#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QWidget>
#include <QThread>
#include <QMutex>

class MyThread : public QThread
{
    Q_OBJECT
public:
    MyThread();
    void run();

    static int num;
    static QMutex mutex;
signals:
    void notify();
};

#endif // MYTHREAD_H
